package com.xxx.sso.ctrl;

import com.xxx.sso.base.BaseCtrl;
import com.xxx.sso.base.BaseService;
import com.xxx.sso.entity.Organization;
import com.xxx.sso.service.OrganizationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author caiwl
 * @date 2020/5/11 16:33
 */
@RestController
@RequestMapping("/organization")
public class OrganizationCtrl extends BaseCtrl<Organization> {
    @Autowired
    private OrganizationService organizationService;

    @Override
    public BaseService<Organization> service() {
        return organizationService;
    }
}
